<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <h1>{{message}}</h1>
    <h2>{{name}}</h2>
</div>
</body>
<script src="../vue.js"></script>
<script>
    const app = new Vue({
        el: '#app',//用于挂载要管理的元素
        data: {//定义数据
            message: 'hello',
            name:'xqz'
        }
    })
</script>
</html>
